#
# Be sure to run `pod lib lint CMKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'IMILabSDK'
  s.version          = '1.0.4'
  s.summary          = '创米SDK库.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
创米SDK库.
                       DESC

  s.homepage         = 'https://gitee.com/imilab/spec_ios'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'Copyright', :file => 'imilab copyright' }
  s.author           = { 'imilab' => 'appteam@imilab.com' }
  s.source           = { :git => 'https://gitee.com/imilab/imilab-sdk.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '11.0'
  s.static_framework = true
  s.swift_version = '5.0'
   
    s.xcconfig = {
        'GCC_PREPROCESSOR_DEFINITIONS' => 'IMI_LAB_SDK=1',
        'OTHER_SWIFT_FLAGS' => '-D IMI_LAB_SDK',
        'OTHER_LDFLAGS' => '-ObjC',
        'ENABLE_BITCODE' => 'NO',
    }
    
    s.vendored_frameworks = 'IMILabSDK/Frameworks/IMILabKit/*.framework'
    s.vendored_libraries = 'IMILabSDK/Frameworks/IMILabKit/libs/*.a'
    s.resource = ['IMILabSDK/Frameworks/IMILabKit/*.bundle']
    
    s.dependency 'AFNetworking'
    s.dependency 'CocoaLumberjack', '~> 3.8.0'
    #下面这些都是滴滴棱镜依赖
    s.dependency 'DiDiPrism'
    s.dependency 'DiDiPrism_Ability'
    #下面这些都是滴滴棱镜依赖
    s.dependency 'Masonry'
    s.dependency 'SDWebImage'
    s.dependency 'Alamofire'
    s.dependency 'IMSIotSmart', '1.3.8.15'    #自动导入IMSAuthentication/IMSApiClient/IMSAccount/IMSBonePluginKit/IMSLog/IMSOpsTools
    s.dependency 'AlicloudALBBOpenAccount', '3.4.1.1'
    #自动导入AlicloudSGMain/AlicloudSGSecurityBody/AlicloudSecurityGuardSDK/AlicloudUTDID
    #自动导入AlicloudSGMain/AlicloudSGSecurityBody/AlicloudSecurityGuardSDK/AlicloudUTDID

#    s.dependency 'IMSBoneKit'   #IMSRouter、IMSBoneLogUtil、IMSBoneUserTrack、IMSBoneServiceCore、IMSBoneServicePluginKit
    s.dependency 'MJRefresh'
    s.dependency 'ZipArchive'
    s.dependency 'CocoaAsyncSocket'
    s.dependency 'IMSThingCapability', '1.8.11'
    s.dependency 'AlicloudALBBOpenAccount'
    s.dependency 'IMSAuthentication'
    s.dependency 'IMSDeviceCenter', '1.13.3'#AKTBJSONModel/IMLCopaBase/LinkNetworkSDK
    s.dependency 'Reachability'
    s.dependency 'CocoaAsyncSocket'
    s.dependency 'AliyunLogProducer/CrashReporter', '3.1.6'
#    s.dependency 'AKReactNative', '0.59.9.2'
#    s.dependency 'IMSReactNativeExtension', '1.0.2'
    s.dependency 'MJExtension'
    s.dependency 'MBProgressHUD'
    s.dependency 'KeychainSwift', '~> 20.0'
    s.dependency 'LinkVisualMedia', '2.3.0-ilop'
    s.dependency 'SnapKit'
    s.dependency 'RxSwift', '~> 6.2.0'
  
    s.prepare_command = '/bin/bash modules_fix.sh'

end
